package com.xdf.xzymanagementsystem.dao;

import com.mybatisflex.core.BaseMapper;
import com.xdf.xzymanagementsystem.entity.JcDeepProcessing;
import com.xdf.xzymanagementsystem.util.Example;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @Description : 往来单位
* @Author : 张柯
* @Date : 2020-12-31 14:42:38
*/
@Repository
public interface JcDeepProcessingMapper {
    int insert(JcDeepProcessing record);

    int insertSelective(JcDeepProcessing record);

    int multiInsert(List<JcDeepProcessing> list);

    int insertDumplicateKeyUpdate(JcDeepProcessing record);

    int updateByPrimaryKey(JcDeepProcessing record);

    int updateByPrimaryKeySelective(JcDeepProcessing record);

    int multiUpdate(List<JcDeepProcessing> list);

    int deleteByPrimaryKey(Integer id);

    JcDeepProcessing selectByPrimaryKey(Integer id);

    List<JcDeepProcessing> selectAll();

    List<JcDeepProcessing> selectByParam(JcDeepProcessing record);

    int updateByExampleSelective(@Param("record") JcDeepProcessing record,@Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<JcDeepProcessing> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") JcDeepProcessing record,@Param("example") Example example);

    long countByExample(@Param("example") Example example);

    JcDeepProcessing selectByCode(String code);

    int moveClientSeq(@Param("id") int id,@Param("direction") int direction);
}